package cc.rengu.redp.bizimpl.upmp.service;

import cc.rengu.redp.bizimpl.upmp.domain.BCardBlacklistInfo;
import cc.rengu.redp.common.domain.QueryRequest;
import cc.rengu.redp.common.exception.RedpException;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author lizk
 */
public interface IBCardBlacklistInfoService extends IService<BCardBlacklistInfo> {

    IPage<BCardBlacklistInfo> findByPage(QueryRequest queryRequest, BCardBlacklistInfo cardBlacklistInfo);

    void createCardBlack(BCardBlacklistInfo cardBlacklistInfo) throws RedpException;

    void updateCardBlack(BCardBlacklistInfo cardBlacklistInfo) throws RedpException;
}
